 

#region Copyright Statement
//////////////////////////////////////////////
//	ORMAC
//  By: Ali Ghomi (2011)
//////////////////////////////////////////////
#endregion

#region using
using System;
using System.Collections.Generic;
using ORMAC;
using ORMAC.Attributes;
using System.Runtime.Serialization;
#endregion

namespace Test
{
	/// <summary>
	/// Auto generated class by ORMAC from Order Details table
	/// </summary>
	[Table("Order Details")]
	[DataContract]
	public class OOrderDetails
	{
		/// <summary>
		/// Auto generated property by ORMAC from OrderID column
		/// </summary>		
		[PrimaryKey]
		[Field("OrderID")]
		[DataMember]
		public int OrderID{
			get;
			set;
		}
		/// <summary>
		/// Auto generated property by ORMAC from ProductID column
		/// </summary>		
		[PrimaryKey]
		[Field("ProductID")]
		[DataMember]
		public int ProductID{
			get;
			set;
		}
		/// <summary>
		/// Auto generated property by ORMAC from UnitPrice column
		/// </summary>		
		[Field("UnitPrice")]
		[DataMember]
		public decimal UnitPrice{
			get;
			set;
		}
		/// <summary>
		/// Auto generated property by ORMAC from Quantity column
		/// </summary>		
		[Field("Quantity")]
		[DataMember]
		public int Quantity{
			get;
			set;
		}
		/// <summary>
		/// Auto generated property by ORMAC from Discount column
		/// </summary>		
		[Field("Discount")]
		[DataMember]
		public decimal Discount{
			get;
			set;
		}

	}
}
